package com.vincent.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("menu_role")
public class MenuRole implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField(value = "menu_id")
    private Integer menuId;

    @TableField(value = "role_id")
    private Integer roleId;

}
